<template>
   <h1>欢迎光临</h1>
</template>

<script setup>
import { ref, onMounted, onUnmounted } from 'vue';

const message = ref('Hello, Vue 3!');
onMounted(() => {
  // Your code here
});

// 在组件卸载前执行的操作
onUnmounted(() => {
  // Your code here
});
</script>